/**  
 * All rights Reserved, Designed By www.beonelot.com
 * @Package: com.bccah.modlib.dbdo.mapper.DO
 * @Filename: AcsControlVisitorMethodDO.java
 * @Description: TODO(ACS_CONTROL_VISITOR_METHOD表对象)
 * @author: 金鑫智慧
 * @date: 2020-04-08
 * @version: V1.0
 * @Copyright: 2018 www.beonelot.com Inc. All rights reserved.
 * 注意：本内容仅限于重庆金鑫智慧科技有限公司内部传阅，禁止外泄以及用于其他的商业目的
 */
package com.jinxin.platform.cdacsrecord.core.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 * TODO(ACS_CONTROL_VISITOR_METHOD表对象)
 * @Classn: AcsControlVisitorMethodDO
 * @author SY
 * @date 2020-04-08
 */
@Data
public class AcsControlVisitorMethodVO {

    private static final long serialVersionUID = 1L;

    private String visitorMethodId;

    /**
     * 访客访问方式
     */
    @NotBlank(message = "访问方式")
    private String visitorMethodName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime createTime;

    private String visitorMethodKey;
}
